####################################################################################
#   makefile
####################################################################################

include ../config.local



INCLUDE += ../$(INCLUDE_DIR)
INCLUDE += ../$(INCLUDE_EXLIBDIR)

#SRC += hkdiscovery.c
#SRC += hkinit.c
#SRC += hkMD5.c
#SRC += hksadp.c
#SRC += hksadppacket.c

SRC = $(shell find . -name "*.c")

OBJS = $(addsuffix .o,$(basename $(SRC)))

all:$(OBJS)
	$(CP) *.o ../$(LIBDIR)
	$(RM) -rf *.o
%.o : %.c
	$(CC)  $(BASE_CFLAGS) -g  -c -I $(INCLUDE) $< -o $@

